package com.health.entity;

import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

@Data
public class UsersTrade implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 交易id
     */
    private String id;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 微信预支付订单号
     */
    private String prePayId;

    /**
     * 1就诊卡充值
     */
    private Integer type;

    /**
     * 变动金额（分）入账为正数，出账为负数
     */
    private Integer money;

    /**
     * 状态 1待支付 2已支付 3支付失败
     */
    private Integer state;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;


}
